//
//  UILabel+XLExtension.h
//  DrugProphet
//
//  Created by 左学良 on 16/8/10.
//  Copyright © 2016年 左学良. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (XLExtension)

- (void)setLabelSpaceWithValue:(NSString*)str withFont:(UIFont*)font alignment:(NSTextAlignment)alignment;
// calculate the height of the label With the line spacing

+ (CGFloat)getSpaceLabelHeight:(NSString*)str withFont:(UIFont*)font withWidth:(CGFloat)width alignment:(NSTextAlignment)alignment;
@end
